package com.designpattern.structure.proxy.cglibproxy;

public class Main {
    public static void main(String[] args) {
        //创建对象工厂
        ProxyFactory proxyFactory = new ProxyFactory();
        //获取代理对象
        TrainStation proxyObject = proxyFactory.getProxyObject();
        //调用代理对象中的sell方法
        proxyObject.sell();
    }
}
